package com.ums.scumspay.constant;

import java.util.HashMap;
import java.util.Map;

public interface UrlConstant {

    Map<String, String> PAY_WAY = new HashMap<String, String>(){{
        put("zfb", "https://test-api-open.chinaums.com/v1/netpay/trade/h5-pay"); //支付宝H5
        put("wx",  "https://test-api-open.chinaums.com/v1/netpay/wxpay/h5-pay");  //微信H5
        put("ysf", "https://test-api-open.chinaums.com/v1/netpay/uac/order");  //银联云H5
        put("wxtoh5", "https://test-api-open.chinaums.com/v1/netpay/wxpay/h5-to-minipay");  //微信H5转小程序支付
    }};

    Map<String, String[]> PAY_TYPE = new HashMap<String, String[]>(){{
        //b to c
        put("1", new String[]{"sale","银行卡收款","消费"}); //银行卡
        put("2", new String[]{"PosTScan","POS 通","扫一扫"});  //扫一扫
        put("3", new String[]{"PosTCodeCollection","POS通码上收","码上收"});  //扫一扫
        put("cancel", new String[]{"cancel"});  //退款

    }};


    Map<String, String[]> PAY_QUERY_TYPE = new HashMap<String, String[]>(){{
        //b to c
        put("1", new String[]{"queryDetail","","公共资源","交易明细"}); //银行卡
        put("2", new String[]{"queryDetail","","公共资源","交易明细"}); //银行卡
        put("3", new String[]{"PosTCodeQuery","POS通码上收","交易明细"});  //扫一扫

    }};

}
